<?php if (!defined('THINK_PATH')) exit();?>  <tr>
    <th class="text-center" width="100"><input type="checkbox" value="" id="checkall" class=""> 全选</th>
    <th>编号</th>
    <th><i class="fa fa-header"></i>产品名称</th>
    <th><i class="fa fa-user"></i>图片1</th>
    <th><i class="fa fa-user"></i>图片2</th>
    <th><i class="fa fa-clock-o">产品参数</th>
    <th><i class="fa fa-clock-o">发布时间</th>
    <th><i class="fa fa-eye">是否上架</th>
    <th><i class="fa fa-eye">所属分类</th>
    <th><a id="click" style="border-bottom:1px solid #000 ;color: #000;">排序</a></th>
    <th>操作</th>
  </tr>
<form action="" method="post">
<?php if(is_array($product)): foreach($product as $key=>$v): ?><tr>
    <td class="text-center">
      <input type="checkbox" value="<?php echo ($v["pro_id"]); ?>" name="idarr[]" class="cbox" id="pro">
    </td>
    <td><?php echo ($a++); ?></td>
    <td class="art_title">
      <input type="text" value="<?php echo ($v["pro_name"]); ?>" readonly data_id="<?php echo ($v["pro_id"]); ?>">
    </td>

    <td><img src="/furniture/Upload/<?php echo ($v["pro_img1"]); ?>" alt="" height="50" />
    <td><img src="/furniture/Upload/<?php echo ($v["pro_img2"]); ?>" alt="" height="50" />
    <td><?php echo ($v["pro_parameter"]); ?></td>
    <td><?php echo (date("Y-m-d",$v["pro_addtime"])); ?></td>
    <td class="is_show" data_id="<?php echo ($v["pro_id"]); ?>" data_value="<?php echo ($v["is_show"]); ?>" >
      <img src="/furniture/Public/Admin/img/<?php echo ($v['is_show']==1?'yes':'no'); ?>.png" alt="" />
    </td> 
    <td><?php echo ($v["cat_name"]); ?></td>
    <td><?php echo ($v["pro_ord"]); ?></td>
    <td>
        <a href="<?php echo U('Admin/Product/product_edit/aid/'.$v['pro_id']);?>" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>                                        
        <a href="javascript:void(0)" class="btn btn-white btn-sm del" a_id="<?php echo ($v["pro_id"]); ?>"><i class="fa fa-trash"></i> 删除 </a>
    </td>
  </tr><?php endforeach; endif; ?>
<tr>
<td colspan="2">
    <button type="submit" name="btn" value="1" id="btn" class="pull-left ">批量删除</button>
</td>
</form>
<td colspan="10"><?php echo ($show); ?></td>
</tr>